package com.mqtt.demo2.constant;

/**
 * @author renyitong
 * @version 1.0.0
 * @createTime 2023年09月01日
 * @Description topic常量类
 */
public enum TopicConstant {

    VTM_WAITING(1,"vtm/waiting"), //vtm 等待呼叫
    VTM_CALLING(2,"vtm/calling"), //vtm 正在呼叫
    VTM_CALL_TIMEOUT(3,"vtm/call/timeout"), //vtm 呼叫超时
    VTM_CALL_CANCEL(4,"vtm/call/cancel"), // vtm取消呼叫
    VTM_HIGH_SPEED_CAMERA_IMAGE(5,"vtm/high/camera"), //vtm高拍仪图片
    VTM_REFRESH(6,"vtm/refresh"), //刷新vtm
    VTM_REBOOT(7,"vtm/reboot"), //重启vtm
    VTM_UPDATE(8,"vtm/update"), //vtm升级
    VTM_UPDATE_EXE(9,"vtm/update/exe");//vtm安装包升级

    private Integer level;
    private String topic;

    TopicConstant(Integer level, String topic) {
        this.level = level;
        this.topic = topic;
    }

    public Integer getLevel() {
        return level;
    }

    public String getTopic() {
        return topic;
    }

}
